package com.superlc.ssm.modular.api.model;

import com.fasterxml.jackson.annotation.JsonView;
import com.superlc.ssm.core.common.jsonview.UserApiJsonView;

import java.io.Serializable;
import java.util.Date;

/**
 * @author  super
 * 在线用户信息
 */
@JsonView(UserApiJsonView.class)
public class UserOnline implements Serializable {

    private String id ;
    private Object userInfo ;
    private String username ;
    private String host ;
    private String systemHost ;
    private String status ;
    private Date startTimestamp ;
    private Date lastAccessTime ;
    private Long timeout ;


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Object getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(Object userInfo) {
        this.userInfo = userInfo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getSystemHost() {
        return systemHost;
    }

    public void setSystemHost(String systemHost) {
        this.systemHost = systemHost;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getStartTimestamp() {
        return startTimestamp;
    }

    public void setStartTimestamp(Date startTimestamp) {
        this.startTimestamp = startTimestamp;
    }

    public Date getLastAccessTime() {
        return lastAccessTime;
    }

    public void setLastAccessTime(Date lastAccessTime) {
        this.lastAccessTime = lastAccessTime;
    }

    public Long getTimeout() {
        return timeout;
    }

    public void setTimeout(Long timeout) {
        this.timeout = timeout;
    }
}
